package com.lantosec.hmrp.modules.archives.mapper;

import com.lantosec.hmrp.modules.archives.entity.UserHappyFuneral;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lantosec.hmrp.modules.archives.vo.UserHappyFuneralGiftVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 领导干部参与操办本人及近亲属婚丧喜庆事宜情况报告表 Mapper 接口
 * </p>
 *
 * @author AutoCode
 * @since 2020-06-14
 */
public interface UserHappyFuneralMapper extends BaseMapper<UserHappyFuneral> {

    /**
     * 新增礼品表
     * @param param
     */
    void saveUserHappyFuneralGift(@Param("param") UserHappyFuneralGiftVO param);

    /**
     * 删除礼品信息
     * @param userHappyFuneralId
     */
    void deleteUserHappyFuneralGift(String userHappyFuneralId);

    /**
     * 查询礼品表信息
     * @param userHappyFuneralId
     * @return
     */
    List<UserHappyFuneralGiftVO> getUserHappyFuneralGift(String userHappyFuneralId);
}
